package org.hcyspartnoc.luoxin.pojo.dto.chat;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;

@Data
@NoArgsConstructor
public class ContrapsychChatReqBody {
    private String model;
    private double temperature;
    private double top_p;
    private boolean stream;
    private ArrayList<Message> messages = new ArrayList<>();

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Message {
        private String role;
        private String content;
    }
}